PARSER=parser 
DEBUG=debug 
cc=g++
HTTP_SERVER=http_server

.PHONY:all
all:$(PARSER) $(DEBUG) $(HTTP_SERVER)
	

$(PARSER):parser.cc
	$(cc) -o $@ $^ -lboost_system -lboost_filesystem -std=c++11
$(DEBUG):debug.cc 
	$(cc) -o $@ $^ -ljsoncpp -std=c++11
$(HTTP_SERVER):http_server.cc
	$(cc) -o $@ $^ -lpthread -ljsoncpp -std=c++11


.PHONY:clean
clean:
	rm -f parser $(DEBUG) $(HTTP_SERVER)
